package com.example.lol.adapter;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;

import com.example.lol.base.BaseVpAdapter;
import com.example.lol.bean.CardActivityBean;
import com.example.lol.ui.news.MeActivityFragment;


public class CardVpAdapter extends BaseVpAdapter<CardActivityBean> {

    public CardVpAdapter(@NonNull FragmentManager fm) {
        super(fm);
    }

    @Override
    protected Fragment createFragment(int position) {
        Fragment fragment = null;
        CardActivityBean bean = getData(position);
            fragment = new MeActivityFragment();
        return fragment;
    }
}
